﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewTree.ascx.cs" Inherits="Web.Test.ConTrols.ViewTree" %>
<style type="text/css">
    .style1
    {
        height: 340px;
        width: 606px;
    }
</style>


 <div>
        <table width = "600px">
        <tr>
        <td valign = "top" class="style1">
          <asp:GridView id="GridView1" runat="server" Height="137px" Width="600px" 
                PageSize="1000" AutoGenerateColumns="False" 
                OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnLoad="Page_Load" 
                EnableModelValidation="True" style="margin-right: 114px" 
                onpageindexchanged="GridView1_PageIndexChanged" 
                onpageindexchanging="GridView1_PageIndexChanging" HorizontalAlign="Center">
              <Columns>
                  <asp:BoundField DataField="idmember" HeaderText="ID" ItemStyle-Width = "30px" 
                      Visible="False" >
<ItemStyle Width="30px"></ItemStyle>
                  </asp:BoundField>
                  <asp:BoundField DataField="codemember"  HeaderText="m&#227;"   />
                  <asp:BoundField DataField="fullname" HeaderText="Th&#224;nh vi&#234;n" />
                  <asp:BoundField DataField="CodeMemberParent" HeaderText="Mã Cha" />
                  <asp:BoundField DataField="CodeMemberIntro"   HeaderText="Mã giới thiệu" />
                  <asp:BoundField DataField="layer" HeaderText="Cấp Matrix" Visible="False" />
                  <asp:BoundField DataField="leftCode" HeaderText="Trái" />
                  <asp:BoundField DataField="rigthCode" HeaderText="Phải" />
                  <asp:CommandField ShowSelectButton="True" SelectText="Chi tiết" />
              </Columns>
          </asp:GridView>
            
         </td>

         </table>
    
        &nbsp;</div>
    </div>